


local m = require("gomodule")
m.myfunc()
print(m.name)

function sleep(n)
   --os.execute("sleep " .. n)
    if n > 0 then os.execute("ping -n " .. tonumber(n + 1) .. " localhost > NUL") end
end

require "luaext"
require "class"
require "g"




local msg = new("test")

local osname = "linux"
if string.find(os.getenv("OS") or "", "Windows") then
  osname = "windows"
end

print("___os_", osname)

for i=1, 1000 do
    print("_______main___", i)
    msg:test()
    g.hotfix:hotfixFile()
    sleep(1)
    if i == 10 then
        print("____!!!!!!!!!!!___main___", i)
        local msg = new("test")
        msg:test()
        break
    end
end




